#ifndef QNEWDATADIALOG_H
#define QNEWDATADIALOG_H

#include <QDialog>

namespace Ui {
class QNewDataDialog;
}

namespace SHAREDLIB
{
    class QNameEdit;
}

class QNewDataDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit QNewDataDialog(QWidget *parent = 0);
    ~QNewDataDialog();
    
private:
    Ui::QNewDataDialog *ui;

protected:
    SHAREDLIB::QNameEdit  *m_groupName;
    SHAREDLIB::QNameEdit  *m_name;
    QStringList         m_groups;
private slots:
    void on_okBtn_clicked();
    void on_cancelBtn_clicked();
    void on_groupCombo_editTextChanged(const QString &arg1);
};

#endif // QNEWDATADIALOG_H
